package com.hongdee.scm.inventory.service;

import com.hongdee.scm.inventory.entity.TScmInventory;
import com.hongdee.scm.inventory.entity.TScmInventoryDetail;
import com.hongdee.scm.stock.entity.TScmStock;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import java.util.List;
import java.util.Map;

/**
 * 名  称:ITScmInventoryService
 * 类  型:interface
 * 描  述:
 * 路  径:com.hongdee.scm.inventory.service
 * 作  者: 术洪超
 * 日  期:2017-06-01 14:42
 */
public interface ITScmInventoryService {


    public Map info(String id) throws Exception;

    public TScmInventory saveOrUpdate(Map data, String uid) throws Exception;

    public void update(Map data, String uid) throws Exception;

    public void print(String id) throws Exception;

    public Map page(String start, String limit, Map data, String uid) throws Exception;

    public Map carPage(String start, String limit, Map data, String uid, String warehouseId) throws Exception;

    public Map carCount(String locationId, String uid) throws Exception;

    public List<Map<String,Object>> findExcel(String uid, String warehouseId,Map data) throws Exception;

    public HSSFWorkbook export(List<Map<String,Object>> lists, String uid) throws Exception;

    public HSSFWorkbook exportCar(List<TScmInventoryDetail> list, String uid) throws Exception;

    public List<TScmInventoryDetail> findList(String uid,String inventoryId) throws Exception;

    public void importCar(String uid,String inventoryId) throws Exception;

    public void updateRight(Map data,String uid) throws Exception;
    public void updateError(Map data,String uid) throws Exception;

    public String getLoginName(String uid) throws Exception;

    public void confirmInventory(String inventoryId,String uid) throws Exception;
}
